/*

 */
package com.insigma.business.qrcode.common.vo;

import com.insigma.business.qrcode.common.util.ErrorContext;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
public class RestfulResult<T> extends ToString {

    private String code;

    private String msg;

    private T data;
    private boolean success;
    private ErrorContext errorCtx;
    public RestfulResult() {}

    public RestfulResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
